<template>
    <main-layout>
        <div class="types-box">
            <div class="header">
                分类页面
            </div>
            <div class="types-content">
                <div class="type-left">
                    <div>
                        配饰
                    </div>
                </div>
                <div class="type-right">
                    <div class="type-right-box">
                        <h5>饰品</h5>
                        <div class="type-right-boxContent">
                            <div class="box">
                                <img src="" alt="">
                            <span></span>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            
            <h3 @click="goLogin">去登陆</h3>
        </div>
    </main-layout>
</template>

<script>
    export default {
        methods:{
            goLogin(){
                this.$router.push('/login')
            }
        }
    }
</script>

<style lang="less" scoped>
    @import "../../style/common.less";

    .types-box{
        height: 100%;
        width: 100%;
        background-color: #c1ab96;
        .header{
            widows: 100%;
            height: 50px;
            line-height: 50px;
            padding-left: 20px;
        }
        .types-content{
            display: flex;
            flex: 1;
            flex-direction: row;
            justify-content: space-between;
            height: calc(100%-50px);
            // width: 100%;
            background-color: #EAE9E5;
            .type-left{
                display: flex;
                flex: 1;
                justify-content: flex-start;
                width: 150px;
                background-color: #ffffff;
            }
            .type-right{
                display: flex;
                float: 1;
                justify-content: flex-start;
                width: calc(100%-150px);
                background-color: #EAE9E5;
            }
        }
    }

</style>